package com.hy.mydesktop.shared.business;

import java.util.ArrayList ;
import java.util.HashMap ;
import java.util.List ;
import java.util.Map ;

import com.extjs.gxt.ui.client.data.BaseModel ;
import com.extjs.gxt.ui.client.data.BaseTreeModel ;
import com.hy.mydesktop.client.component.mvc.event.EventStructureMetaModel;
import com.hy.mydesktop.client.component.type.ComponentControllerEnum;
import com.hy.mydesktop.client.component.type.ComponentTypeEnum;
import com.hy.mydesktop.shared.persistence.domain.gxt.GxtComponentMetaModel;
import com.hy.mydesktop.shared.persistence.domain.gxt.GxtComponentMetaNodeModel;

/**
 * 
 * <ul>
 * <li>开发作者：汤莉</li>
 * <li>设计日期：2010-11-25；时间：下午03:48:59</li>
 * <li>类型名称：DepotServices</li>
 * <li>设计目的：仓库设置</li>
 * </ul>
 * <ul>
 * <b>修订编号：</b>
 * <li>修订日期：</li>
 * <li>修订作者：</li>
 * <li>修订原因：</li>
 * <li>修订内容：</li>
 * </ul>
 */
public class DepotServices3
{
	/**
	 * 表单
	 */
	public GxtComponentMetaModel createDynamicWindowController()
	{
		//窗口
		Map<String , Object> windowController=new HashMap<String, Object>();
//		windowController.put("component_controller_model_type", ComponentControllerEnum.WINDOW_CONTROLLER_MODEL);
		windowController.put("component_controller_model_type_index", ComponentControllerEnum.WINDOW_CONTROLLER_MODEL.ordinal());
		List<String> codes1 = new ArrayList<String>();
		codes1.add("0301");		
		codes1.add("0401");
		codes1.add("0007");
		codes1.add("0008");
		codes1.add("0013");
		
		windowController.put("id", "1_1_windowController_Depot");
		windowController.put("registereventtypes", codes1);
		windowController.put("viewdata", "window_viewData_init_01");		
		windowController.put("gxtcomponentmetanodemodel", this.getWindowGxtComponentMetaNodeModel2());		
		GxtComponentMetaNodeModel node=new GxtComponentMetaNodeModel(windowController,1,42);
		
		//contentPanel
		Map<String , Object> contentPanelController=new HashMap<String, Object>();
//		contentPanelController.put("component_controller_model_type", ComponentControllerEnum.CONTENTPANEL_CONTROLLER_MODEL);
		contentPanelController.put("component_controller_model_type_index", ComponentControllerEnum.CONTENTPANEL_CONTROLLER_MODEL.ordinal());
		List<String> codes2 = new ArrayList<String>();
		codes2.add("0301");
		codes2.add("0401");
		codes2.add("0007");
		codes2.add("0008");
		contentPanelController.put("registereventtypes", codes2);				
		contentPanelController.put("id", "2_1_contentPanelController_Depot");				
		contentPanelController.put("viewdata", "contentPanel_viewData_init_01");
		contentPanelController.put("gxtcomponentmetanodemodel", this.getContentPanelGxtComponentMetaNodeModel());		

		GxtComponentMetaNodeModel node2=new GxtComponentMetaNodeModel(contentPanelController,2,41);
		
		//菜单栏
		Map<String , Object> menuBarController=new HashMap<String, Object>();
//		menuBarController.put("component_controller_model_type", ComponentControllerEnum.MENUBAR_CONTROLLER_MODEL);
		menuBarController.put("component_controller_model_type_index", ComponentControllerEnum.MENUBAR_CONTROLLER_MODEL.ordinal());
		List<String> codes3 = new ArrayList<String>();
		codes3.add("0301");
		codes3.add("0401");
		codes3.add("0007");
		codes3.add("0008");
		menuBarController.put("registereventtypes", codes3);
		menuBarController.put("id", "menuBarController");
		menuBarController.put("viewdata", "menuBar_viewData_init_01");		
//		menuBarController.put("gxtcomponentmetanodemodel", this.getMenuBarGxtComponentMetaNodeModel2());		
		GxtComponentMetaNodeModel node3=new GxtComponentMetaNodeModel(menuBarController,3,4);
		
		//工具栏
		Map<String , Object> toolBarController=new HashMap<String, Object>();
//		toolBarController.put("component_controller_model_type", ComponentControllerEnum.TOOLBAR_CONTROLLER_MODEL);
		toolBarController.put("component_controller_model_type_index", ComponentControllerEnum.TOOLBAR_CONTROLLER_MODEL.ordinal());
		List<String> codes4 = new ArrayList<String>();
	    codes4.add("0301");
		codes4.add("0401");
		codes4.add("0007");
		codes4.add("0008");
		toolBarController.put("registereventtypes", codes4);
		toolBarController.put("id", "3_1_toolBarController_Depot");
		toolBarController.put("viewdata", "toolBar_viewData_init_01");		
		toolBarController.put("gxtcomponentmetanodemodel", this.getToolBarGxtComponentMetaNodeModel2());		
		GxtComponentMetaNodeModel node4=new GxtComponentMetaNodeModel(toolBarController,3,4);
		
		//sumFormPanel
		Map<String, Object> sumFormPanelController=new HashMap<String, Object>();
//		sumFormPanelController.put("component_controller_model_type", ComponentControllerEnum.FORMPANEL_CONTROLLER_MODEL);
		sumFormPanelController.put("component_controller_model_type_index", ComponentControllerEnum.FORMPANEL_CONTROLLER_MODEL.ordinal());
//		sumFormPanelController.put("component_controller_model_type_index", ComponentControllerEnum.CONTENTPANEL_CONTROLLER_MODEL.ordinal());
		List<String> codes45 = new ArrayList<String>();
		codes45.add("0301");
		codes45.add("0401");
		codes45.add("0007");
		codes45.add("0008");
		codes45.add("0304");
		sumFormPanelController.put("registereventtypes", codes45);
		sumFormPanelController.put("id", "3_2_sumFormPanelController_Depot");
		sumFormPanelController.put("controllerdata", "sumFormPanel_controllerdata_init_01");		
		sumFormPanelController.put("viewdata", "sumFormPanel_viewData_init_01");		
		sumFormPanelController.put("gxtcomponentmetanodemodel",  this.getSumFormPanelGxtComponentMetaNodeModel());		
		//sumFormPanelController.put("gxtcomponentmetanodemodel", this.getContentPanelGxtComponentMetaNodeModel());		

		GxtComponentMetaNodeModel node45=new GxtComponentMetaNodeModel(sumFormPanelController, 5, 40);
		
		//formPanelController
		Map<String , Object> formPanelController=new HashMap<String, Object>();
//		formPanelController.put("component_controller_model_type", ComponentControllerEnum.FORMSET_MODULE_CONTROLLER_MODEL);
//		formPanelController.put("component_controller_model_type_index", ComponentControllerEnum.FORMPANEL_CONTROLLER_MODEL.ordinal());
		formPanelController.put("component_controller_model_type_index", ComponentControllerEnum.CONTENTPANEL_CONTROLLER_MODEL.ordinal());
		List<String> codes5 = new ArrayList<String>();
		codes5.add("0301");
		codes5.add("0401");
		codes5.add("0007");
		codes5.add("0008");
		formPanelController.put("registereventtypes", codes5);
		formPanelController.put("id", "4_1_formPanelController_Depot");
		formPanelController.put("controllerdata", "formPanel_controllerdata_init_01");		
		formPanelController.put("viewdata", "formPanel_viewData_init_01");		
//		formPanelController.put("gxtcomponentmetanodemodel",  this.getFormSetModuleGxtComponentMetaNodeModel());		
		formPanelController.put("gxtcomponentmetanodemodel",  this.getFormSetContentPanelGxtComponentMetaNodeModel());		
		GxtComponentMetaNodeModel node5=new GxtComponentMetaNodeModel(formPanelController,6,29);
		
		
		//contentPanel######
		Map<String , Object> contentPanelController2=new HashMap<String, Object>();
//		contentPanelController.put("component_controller_model_type", ComponentControllerEnum.CONTENTPANEL_CONTROLLER_MODEL);
		contentPanelController2.put("component_controller_model_type_index", ComponentControllerEnum.CONTENTPANEL_CONTROLLER_MODEL.ordinal());
		List<String> codes6 = new ArrayList<String>();
		codes6.add("0301");
		codes6.add("0401");
		codes6.add("0007");
		codes6.add("0008");
		contentPanelController2.put("registereventtypes", codes6);				
		contentPanelController2.put("id", "5_1_contentPanelController2_Depot");				
		contentPanelController2.put("viewdata", "contentPanel_viewData_init_01");
		contentPanelController2.put("gxtcomponentmetanodemodel", this.getContentPanelGxtComponentMetaNodeModel2());		

		GxtComponentMetaNodeModel node6=new GxtComponentMetaNodeModel(contentPanelController2,7,18);
		
		//文本框——仓库名称
		Map<String , Object> textFieldController_5_2_3_depotname=new HashMap<String, Object>();
//		formPanelController.put("component_controller_model_type", ComponentControllerEnum.FORMSET_MODULE_CONTROLLER_MODEL);
		textFieldController_5_2_3_depotname.put("component_controller_model_type_index", ComponentControllerEnum.TEXTFIELD_CONTROLLER_MODEL.ordinal());
		List<String> codes5_2_3_depotname = new ArrayList<String>();
		codes5_2_3_depotname.add("0301");
		codes5_2_3_depotname.add("0401");
		codes5_2_3_depotname.add("0007");
		codes5_2_3_depotname.add("0008");
		codes5_2_3_depotname.add("0305");
		textFieldController_5_2_3_depotname.put("registereventtypes", codes5_2_3_depotname);
		textFieldController_5_2_3_depotname.put("id", "6_1_textFieldController_Depot");
		textFieldController_5_2_3_depotname.put("controllerdata", "textFieldController_5_2_3_controllerdata_init_01");		
		textFieldController_5_2_3_depotname.put("viewdata", "textFieldController_5_2_3_viewData_init_01");		
		textFieldController_5_2_3_depotname.put("gxtcomponentmetanodemodel",  this.getTextFieldGxtComponentMetaNodeModel());		
		GxtComponentMetaNodeModel node5_2_3_depotname=new GxtComponentMetaNodeModel(textFieldController_5_2_3_depotname,8,9);
		
		//文本框——负责人
		Map<String , Object> textFieldController_5_2_3_person=new HashMap<String, Object>();
//	    formPanelController.put("component_controller_model_type", ComponentControllerEnum.FORMSET_MODULE_CONTROLLER_MODEL);
		textFieldController_5_2_3_person.put("component_controller_model_type_index", ComponentControllerEnum.TEXTFIELD_CONTROLLER_MODEL.ordinal());
		List<String> codes5_2_3_person = new ArrayList<String>();
		codes5_2_3_person.add("0301");
		codes5_2_3_person.add("0401");
		codes5_2_3_person.add("0007");
		codes5_2_3_person.add("0008");
		codes5_2_3_person.add("0305");
		textFieldController_5_2_3_person.put("registereventtypes", codes5_2_3_person);
		textFieldController_5_2_3_person.put("id", "6_2_textFieldController_Depot");
		textFieldController_5_2_3_person.put("controllerdata", "textFieldController_5_2_3_controllerdata_init_01");		
		textFieldController_5_2_3_person.put("viewdata", "textFieldController_5_2_3_viewData_init_01");		
		textFieldController_5_2_3_person.put("gxtcomponentmetanodemodel",  this.getTextFieldGxtComponentMetaNodeModel2());		
		GxtComponentMetaNodeModel node5_2_3_person=new GxtComponentMetaNodeModel(textFieldController_5_2_3_person,10,11);
		
		//下拉框——仓库类型
		Map<String , Object> comboBoxController_5_1_2_depottype=new HashMap<String, Object>();
//		formPanelController.put("component_controller_model_type", ComponentControllerEnum.FORMSET_MODULE_CONTROLLER_MODEL);
		comboBoxController_5_1_2_depottype.put("component_controller_model_type_index", ComponentControllerEnum.COMBOBOX_CONTROLLER_MODEL.ordinal());
		List<String> codes5_1_2_depottype= new ArrayList<String>();
		codes5_1_2_depottype.add("0301");
		codes5_1_2_depottype.add("0401");
		codes5_1_2_depottype.add("0007");
		codes5_1_2_depottype.add("0008");
		codes5_1_2_depottype.add("0305");
		comboBoxController_5_1_2_depottype.put("registereventtypes", codes5_1_2_depottype);
		comboBoxController_5_1_2_depottype.put("id", "6_3_comboBoxController_Depot");
		comboBoxController_5_1_2_depottype.put("controllerdata", "comboBoxController_5_1_2_controllerdata_init_01");		
		comboBoxController_5_1_2_depottype.put("viewdata", "comboBoxController_5_1_2_viewData_init_01");		
		comboBoxController_5_1_2_depottype.put("gxtcomponentmetanodemodel",  this.getComboBoxGxtComponentMetaNodeModel2());		
		GxtComponentMetaNodeModel node5_1_2_depottype=new GxtComponentMetaNodeModel(comboBoxController_5_1_2_depottype,12,13);
		
		//下拉框——定义仓库的原因
		Map<String , Object> comboBoxController_5_1_2_DefineDepotReason=new HashMap<String, Object>();
//		formPanelController.put("component_controller_model_type", ComponentControllerEnum.FORMSET_MODULE_CONTROLLER_MODEL);
		comboBoxController_5_1_2_DefineDepotReason.put("component_controller_model_type_index", ComponentControllerEnum.COMBOBOX_CONTROLLER_MODEL.ordinal());
		List<String> codes5_1_2_DefineDepotReason= new ArrayList<String>();
		codes5_1_2_DefineDepotReason.add("0301");
		codes5_1_2_DefineDepotReason.add("0401");
		codes5_1_2_DefineDepotReason.add("0007");
		codes5_1_2_DefineDepotReason.add("0008");
		codes5_1_2_DefineDepotReason.add("0305");
		comboBoxController_5_1_2_DefineDepotReason.put("registereventtypes", codes5_1_2_DefineDepotReason);
		comboBoxController_5_1_2_DefineDepotReason.put("id", "6_4_comboBoxController_Depot");
		comboBoxController_5_1_2_DefineDepotReason.put("controllerdata", "comboBoxController_5_1_2_controllerdata_init_01");		
		comboBoxController_5_1_2_DefineDepotReason.put("viewdata", "comboBoxController_5_1_2_viewData_init_01");		
		comboBoxController_5_1_2_DefineDepotReason.put("gxtcomponentmetanodemodel",  this.getComboBoxGxtComponentMetaNodeModel3());		
		GxtComponentMetaNodeModel node5_1_2_DefineDepotReason=new GxtComponentMetaNodeModel(comboBoxController_5_1_2_DefineDepotReason,14,15);
		
		//日期控件——失效日期
		Map<String , Object> dateFieldController_5_2_2_FailureDate=new HashMap<String, Object>();
//		formPanelController.put("component_controller_model_type", ComponentControllerEnum.FORMSET_MODULE_CONTROLLER_MODEL);
		dateFieldController_5_2_2_FailureDate.put("component_controller_model_type_index", ComponentControllerEnum.DATEFIELD_CONTROLLER_MODEL.ordinal());
		List<String> codes5_2_2_FailureDate = new ArrayList<String>();
		codes5_2_2_FailureDate.add("0301");
		codes5_2_2_FailureDate.add("0401");
		codes5_2_2_FailureDate.add("0007");
		codes5_2_2_FailureDate.add("0008");
		codes5_2_2_FailureDate.add("0305");
		dateFieldController_5_2_2_FailureDate.put("registereventtypes", codes5_2_2_FailureDate);
		dateFieldController_5_2_2_FailureDate.put("id", "6_5_dateFieldController_Depot");
		dateFieldController_5_2_2_FailureDate.put("controllerdata", "dateFieldController_5_2_2_controllerdata_init_01");		
		dateFieldController_5_2_2_FailureDate.put("viewdata", "dateFieldController_5_2_2_viewData_init_01");		
		dateFieldController_5_2_2_FailureDate.put("gxtcomponentmetanodemodel",  this.getDateFieldGxtComponentMetaNodeModel2());		
		GxtComponentMetaNodeModel node5_2_2_FailureDate=new GxtComponentMetaNodeModel(dateFieldController_5_2_2_FailureDate,16,17);
		
		//contentPanel######
		Map<String , Object> contentPanelController3=new HashMap<String, Object>();
//		contentPanelController.put("component_controller_model_type", ComponentControllerEnum.CONTENTPANEL_CONTROLLER_MODEL);
		contentPanelController3.put("component_controller_model_type_index", ComponentControllerEnum.CONTENTPANEL_CONTROLLER_MODEL.ordinal());
		List<String> codes7 = new ArrayList<String>();
		codes7.add("0301");
		codes7.add("0401");
		codes7.add("0007");
		codes7.add("0008");
		contentPanelController3.put("registereventtypes", codes7);				
		contentPanelController3.put("id", "5_2contentPanelController3_Depot");				
		contentPanelController3.put("viewdata", "contentPanel_viewData_init_01");
		contentPanelController3.put("gxtcomponentmetanodemodel", this.getContentPanelGxtComponentMetaNodeModel2());		

		GxtComponentMetaNodeModel node7=new GxtComponentMetaNodeModel(contentPanelController3,19,28);
	
		
		//下拉框——所属组织
		Map<String , Object> comboBoxController_5_1_2_organization=new HashMap<String, Object>();
//		formPanelController.put("component_controller_model_type", ComponentControllerEnum.FORMSET_MODULE_CONTROLLER_MODEL);
		comboBoxController_5_1_2_organization.put("component_controller_model_type_index", ComponentControllerEnum.COMBOBOX_CONTROLLER_MODEL.ordinal());
		List<String> codes5_1_2_organiaztion = new ArrayList<String>();
		codes5_1_2_organiaztion.add("0301");
		codes5_1_2_organiaztion.add("0401");
		codes5_1_2_organiaztion.add("0007");
		codes5_1_2_organiaztion.add("0008");
		codes5_1_2_organiaztion.add("0305");
		comboBoxController_5_1_2_organization.put("registereventtypes", codes5_1_2_organiaztion);
		comboBoxController_5_1_2_organization.put("id", "6_6_comboBoxController_Depot");
		comboBoxController_5_1_2_organization.put("controllerdata", "comboBoxController_5_1_2_controllerdata_init_01");		
		comboBoxController_5_1_2_organization.put("viewdata", "comboBoxController_5_1_2_viewData_init_01");		
		comboBoxController_5_1_2_organization.put("gxtcomponentmetanodemodel",  this.getComboBoxGxtComponentMetaNodeModel());		
		GxtComponentMetaNodeModel node5_1_2_organization=new GxtComponentMetaNodeModel(comboBoxController_5_1_2_organization,20,21);

		//文本框——地址
		Map<String , Object> textFieldController_5_2_3_address=new HashMap<String, Object>();
//		formPanelController.put("component_controller_model_type", ComponentControllerEnum.FORMSET_MODULE_CONTROLLER_MODEL);
		textFieldController_5_2_3_address.put("component_controller_model_type_index", ComponentControllerEnum.TEXTFIELD_CONTROLLER_MODEL.ordinal());
		List<String> codes5_2_3_address = new ArrayList<String>();
		codes5_2_3_address.add("0301");
		codes5_2_3_address.add("0401");
		codes5_2_3_address.add("0007");
		codes5_2_3_address.add("0008");
		codes5_2_3_address.add("0305");
		textFieldController_5_2_3_address.put("registereventtypes", codes5_2_3_address);
		textFieldController_5_2_3_address.put("id", "6_7_textFieldController_Depot");
		textFieldController_5_2_3_address.put("controllerdata", "textFieldController_5_2_3_controllerdata_init_01");		
		textFieldController_5_2_3_address.put("viewdata", "textFieldController_5_2_3_viewData_init_01");		
		textFieldController_5_2_3_address.put("gxtcomponentmetanodemodel",  this.getTextFieldGxtComponentMetaNodeModel3());		
		GxtComponentMetaNodeModel node5_2_3_address=new GxtComponentMetaNodeModel(textFieldController_5_2_3_address,22,23);
		
		//三个复选框
		Map<String , Object> checkBoxGroupController_5_2_1=new HashMap<String, Object>();
//		formPanelController.put("component_controller_model_type", ComponentControllerEnum.FORMSET_MODULE_CONTROLLER_MODEL);
		checkBoxGroupController_5_2_1.put("component_controller_model_type_index", ComponentControllerEnum.CHECKGROUP_CONTROLLER_MODEL.ordinal());
		List<String> codes5_2_1 = new ArrayList<String>();
		codes5_2_1.add("0301");
		codes5_2_1.add("0401");
		codes5_2_1.add("0007");
		codes5_2_1.add("0008");
		codes5_2_1.add("0305");
		checkBoxGroupController_5_2_1.put("registereventtypes", codes5_2_1);
		checkBoxGroupController_5_2_1.put("id", "6_8_checkBoxGroupController_Depot");
		checkBoxGroupController_5_2_1.put("controllerdata", "checkBoxGroupController_5_2_1_controllerdata_init_01");		
		checkBoxGroupController_5_2_1.put("viewdata", "tcheckBoxGroupController_5_2_1_viewData_init_01");		
		checkBoxGroupController_5_2_1.put("gxtcomponentmetanodemodel",  this.getCheckBoxGxtComponentMetaNodeModel());		
		GxtComponentMetaNodeModel node5_2_1=new GxtComponentMetaNodeModel(checkBoxGroupController_5_2_1,24,25);
		
		//日期控件——生效日期
		Map<String , Object> dateFieldController_5_2_2_BecomeEffectiveDate=new HashMap<String, Object>();
//		formPanelController.put("component_controller_model_type", ComponentControllerEnum.FORMSET_MODULE_CONTROLLER_MODEL);
		dateFieldController_5_2_2_BecomeEffectiveDate.put("component_controller_model_type_index", ComponentControllerEnum.DATEFIELD_CONTROLLER_MODEL.ordinal());
		List<String> codes5_2_2_BecomeEffectiveDate = new ArrayList<String>();
		codes5_2_2_BecomeEffectiveDate.add("0301");
		codes5_2_2_BecomeEffectiveDate.add("0401");
		codes5_2_2_BecomeEffectiveDate.add("0007");
		codes5_2_2_BecomeEffectiveDate.add("0008");
		codes5_2_2_BecomeEffectiveDate.add("0305");
		dateFieldController_5_2_2_BecomeEffectiveDate.put("registereventtypes", codes5_2_2_BecomeEffectiveDate);
		dateFieldController_5_2_2_BecomeEffectiveDate.put("id", "6_9_dateFieldController_Depot");
		dateFieldController_5_2_2_BecomeEffectiveDate.put("controllerdata", "dateFieldController_5_2_2_controllerdata_init_01");		
		dateFieldController_5_2_2_BecomeEffectiveDate.put("viewdata", "dateFieldController_5_2_2_viewData_init_01");		
		dateFieldController_5_2_2_BecomeEffectiveDate.put("gxtcomponentmetanodemodel",  this.getDateFieldGxtComponentMetaNodeModel());		
		GxtComponentMetaNodeModel node5_2_2_BecomeEffectiveDate=new GxtComponentMetaNodeModel(dateFieldController_5_2_2_BecomeEffectiveDate,26,27);
		
		//contentPanel######
		Map<String , Object> contentPanelController4=new HashMap<String, Object>();
//		contentPanelController.put("component_controller_model_type", ComponentControllerEnum.CONTENTPANEL_CONTROLLER_MODEL);
		contentPanelController4.put("component_controller_model_type_index", ComponentControllerEnum.CONTENTPANEL_CONTROLLER_MODEL.ordinal());
		List<String> codes8 = new ArrayList<String>();
		codes8.add("0301");
		codes8.add("0401");
		codes8.add("0007");
		codes8.add("0008");
		contentPanelController4.put("registereventtypes", codes8);				
		contentPanelController4.put("id", "4_2_contentPanelController4_Depot");				
		contentPanelController4.put("viewdata", "contentPanel_viewData_init_01");
		contentPanelController4.put("gxtcomponentmetanodemodel", this.getFormSetContentPanelGxtComponentMetaNodeModel());		

		GxtComponentMetaNodeModel node8=new GxtComponentMetaNodeModel(contentPanelController4,30,39);
		
		
		//contentPanel######
		Map<String , Object> contentPanelController5=new HashMap<String, Object>();
//		contentPanelController.put("component_controller_model_type", ComponentControllerEnum.CONTENTPANEL_CONTROLLER_MODEL);
		contentPanelController5.put("component_controller_model_type_index", ComponentControllerEnum.CONTENTPANEL_CONTROLLER_MODEL.ordinal());
		List<String> codes9 = new ArrayList<String>();
		codes9.add("0301");
		codes9.add("0401");
		codes9.add("0007");
		codes9.add("0008");
		contentPanelController5.put("registereventtypes", codes9);				
		contentPanelController5.put("id", "5_3_contentPanelController5_Depot");				
		contentPanelController5.put("viewdata", "contentPanel_viewData_init_01");
		contentPanelController5.put("gxtcomponentmetanodemodel", this.getContentPanelGxtComponentMetaNodeModel2());		

		GxtComponentMetaNodeModel node9=new GxtComponentMetaNodeModel(contentPanelController5,31,34);
		
		//文本域——描述
		Map<String , Object> textAreaController_5_1_1_description=new HashMap<String, Object>();
//		formPanelController.put("component_controller_model_type", ComponentControllerEnum.FORMSET_MODULE_CONTROLLER_MODEL);
		textAreaController_5_1_1_description.put("component_controller_model_type_index", ComponentControllerEnum.TEXTAREA_CONTROLLER_MODEL.ordinal());
		List<String> codes5_1_1_description = new ArrayList<String>();
		codes5_1_1_description.add("0301");
		codes5_1_1_description.add("0401");
		codes5_1_1_description.add("0007");
		codes5_1_1_description.add("0008");
		codes5_1_1_description.add("0305");
		textAreaController_5_1_1_description.put("registereventtypes", codes5_1_1_description);
		textAreaController_5_1_1_description.put("id", "6_10_textAreaController_Depot");
		textAreaController_5_1_1_description.put("controllerdata", "textAreaController_5_1_1_controllerdata_init_01");		
		textAreaController_5_1_1_description.put("viewdata", "textFieldController_5_1_1_viewData_init_01");		
		textAreaController_5_1_1_description.put("gxtcomponentmetanodemodel",  this.getTextAreaGxtComponentMetaNodeModel());		
		GxtComponentMetaNodeModel node5_1_1_description=new GxtComponentMetaNodeModel(textAreaController_5_1_1_description,32,33);
		
		Map<String , Object> contentPanelController6=new HashMap<String, Object>();
//		contentPanelController.put("component_controller_model_type", ComponentControllerEnum.CONTENTPANEL_CONTROLLER_MODEL);
		contentPanelController6.put("component_controller_model_type_index", ComponentControllerEnum.CONTENTPANEL_CONTROLLER_MODEL.ordinal());
		List<String> codes10 = new ArrayList<String>();
		codes10.add("0301");
		codes10.add("0401");
		codes10.add("0007");
		codes10.add("0008");
		contentPanelController6.put("registereventtypes", codes10);				
		contentPanelController6.put("id", "5_4_contentPanelController5_Depot");				
		contentPanelController6.put("viewdata", "contentPanel_viewData_init_01");
		contentPanelController6.put("gxtcomponentmetanodemodel", this.getContentPanelGxtComponentMetaNodeModel2());		

		GxtComponentMetaNodeModel node10=new GxtComponentMetaNodeModel(contentPanelController6,35,38);
		
		//文本域——备注
		Map<String , Object> textAreaController_5_1_1_remark=new HashMap<String, Object>();
//		formPanelController.put("component_controller_model_type", ComponentControllerEnum.FORMSET_MODULE_CONTROLLER_MODEL);
		textAreaController_5_1_1_remark.put("component_controller_model_type_index", ComponentControllerEnum.TEXTAREA_CONTROLLER_MODEL.ordinal());
		List<String> codes5_1_1_remark = new ArrayList<String>();
		codes5_1_1_remark.add("0301");
		codes5_1_1_remark.add("0401");
		codes5_1_1_remark.add("0007");
		codes5_1_1_remark.add("0008");
		codes5_1_1_remark.add("0305");
		textAreaController_5_1_1_remark.put("registereventtypes", codes5_1_1_remark);
		textAreaController_5_1_1_remark.put("id", "6_11_textAreaController_Depot");
		textAreaController_5_1_1_remark.put("controllerdata", "textAreaController_5_1_1_controllerdata_init_01");		
		textAreaController_5_1_1_remark.put("viewdata", "textFieldController_5_1_1_viewData_init_01");		
		textAreaController_5_1_1_remark.put("gxtcomponentmetanodemodel",  this.getTextAreaGxtComponentMetaNodeModel2());		
		GxtComponentMetaNodeModel node5_1_1_remark=new GxtComponentMetaNodeModel(textAreaController_5_1_1_remark,36,37);
		
		List<GxtComponentMetaNodeModel> list=new ArrayList<GxtComponentMetaNodeModel>();
		list.add(node);
		list.add(node2);
		list.add(node3);
		list.add(node4);
		list.add(node45);
		list.add(node5);
		list.add(node6);
		list.add(node5_2_3_depotname);
		list.add(node5_2_3_person);
		list.add(node5_1_2_depottype);
		list.add(node5_1_2_DefineDepotReason);
		list.add(node5_2_2_FailureDate);
		list.add(node7);
		list.add(node5_1_2_organization);
		list.add(node5_2_3_address);
		list.add(node5_2_1);
		list.add(node5_2_2_BecomeEffectiveDate);
		list.add(node8);
		list.add(node9);
		list.add(node5_1_1_description);
		list.add(node10);
		list.add(node5_1_1_remark);
		GxtComponentMetaModel gxtComponentMetaModel=new GxtComponentMetaModel(list);
		return gxtComponentMetaModel;
		
	}
	
	private GxtComponentMetaNodeModel getWindowGxtComponentMetaNodeModel2( ) {
		Map<String, Object> map2=new HashMap<String, Object>();
//		map2.put("component_model_type", ComponentTypeEnum.WINDOW_MODEL);
		map2.put("component_model_type_index", ComponentTypeEnum.WINDOW_MODEL.ordinal());
		map2.put("title", "仓库设置");
		map2.put("width", 700);
		map2.put("hight", 310);
		map2.put("resizable", false);
		map2.put("maxmizable", false);
		map2.put("minmizable", true);
		map2.put("id", "window_Depot");
		map2.put("layout", ComponentTypeEnum.FITLAYOUT_MODEL.ordinal());
		GxtComponentMetaModel gxtComponentMetaModel = new GxtComponentMetaModel();
		GxtComponentMetaNodeModel gxtComponentMetaNodeModel=new GxtComponentMetaNodeModel(map2);
		
		
		return gxtComponentMetaNodeModel;
		
	}
	
	private GxtComponentMetaNodeModel getContentPanelGxtComponentMetaNodeModel() {
		Map<String, Object> map2=new HashMap<String, Object>();
		//map2.put("component_model_type", ComponentTypeEnum.CONTENTPANEL_MODEL);
		map2.put("component_model_type_index", ComponentTypeEnum.CONTENTPANEL_MODEL.ordinal());
		map2.put("headervisible", false);	
		map2.put("id", "02_01_user_name");	
//		map2.put("id", "02_01_contentPanel_youzhengbianma");	
		map2.put("title", "Rpc===dataload----AppEvents.DESKTOP_INIT_FOR_LOGGED_IN_USER");	
		GxtComponentMetaNodeModel node2=new GxtComponentMetaNodeModel(map2);
		return node2;
	}
	
	private GxtComponentMetaNodeModel getContentPanelGxtComponentMetaNodeModel2() {
		Map<String, Object> map2=new HashMap<String, Object>();
		//map2.put("component_model_type", ComponentTypeEnum.CONTENTPANEL_MODEL);
		map2.put("component_model_type_index", ComponentTypeEnum.CONTENTPANEL_MODEL.ordinal());
		map2.put("headervisible", false);	
		map2.put("id", "www");	
//		map2.put("id", "02_01_contentPanel_Depot");	
		map2.put("title", "Rpc===dataload----AppEvents.DESKTOP_INIT_FOR_LOGGED_IN_USER");	
		map2.put("layoutindex", ComponentTypeEnum.FORMLAYOUT_MODEL.ordinal());
		map2.put("layoutdatainparentcontainer", ".5");
//		map2.put ( "width" , 500 );
		GxtComponentMetaNodeModel node2=new GxtComponentMetaNodeModel(map2);
		return node2;
	}
	
	private GxtComponentMetaNodeModel getMenuBarGxtComponentMetaNodeModel2() {
		List<BaseTreeModel> listModel=new ArrayList<BaseTreeModel>();
		
		BaseTreeModel file=new BaseTreeModel();
		file.set("name", "文件");

		
		BaseTreeModel edit=new BaseTreeModel();
		edit.set("name", "编辑");
		
		BaseTreeModel edit1=new BaseTreeModel();
		edit1.set("name", "引入");
		edit.add(edit1);
		BaseTreeModel edit2=new BaseTreeModel();
		edit2.set("name", "查找");
		edit.add(edit2);
		
		BaseTreeModel view=new BaseTreeModel();
		view.set("name", "查看");
		
		BaseTreeModel view1=new BaseTreeModel();
		view1.set("name", "基础资料查看");
		view.add(view1);
		BaseTreeModel view2=new BaseTreeModel();
		view2.set("name", "编码查看");
		view.add(view2);
		BaseTreeModel view3=new BaseTreeModel();
		view3.set("name", "采购价格查询");
		view.add(view3);
		BaseTreeModel view4=new BaseTreeModel();
		view4.set("name", "历史价格查询");
		view.add(view4);
		BaseTreeModel view5=new BaseTreeModel();
		view5.set("name", "库存状态查询");
		view.add(view5);
		BaseTreeModel view51=new BaseTreeModel();
		view51.set("name", "在库库存查询");
		view5.add(view51);
		BaseTreeModel view52=new BaseTreeModel();
		view52.set("name", "在途库存查询");
		view5.add(view52);
		
		
		BaseTreeModel option=new BaseTreeModel();
		option.set("name", "选项");
		
		BaseTreeModel option1=new BaseTreeModel();
		option1.set("name", "获取批次信息");
		option.add(option1);
		BaseTreeModel option2=new BaseTreeModel();
		option2.set("name", "物料配套查询录入");
		option.add(option2);
		
		listModel.add(file);
		listModel.add(edit);
		listModel.add(view);
		listModel.add(option);
		
		
				Map<String, Object> meunBarItem01 = new HashMap<String, Object>();
			    meunBarItem01.put("component_model_type_index", ComponentTypeEnum.MENUBARITEM_MODEL.ordinal());   
				    Map<String, Object> meunBarItem01_menuItem01 = new HashMap<String, Object>();
				    meunBarItem01_menuItem01.put("component_model_type_index", ComponentTypeEnum.MENUITEM_MODEL.ordinal());   
				    meunBarItem01_menuItem01.put("text", "新建");
					GxtComponentMetaNodeModel node11_01  = new GxtComponentMetaNodeModel(meunBarItem01_menuItem01);
					Map<String, Object> meunBarItem01_menuItem02 = new HashMap<String, Object>();
				    meunBarItem01_menuItem02.put("component_model_type_index", ComponentTypeEnum.MENUITEM_MODEL.ordinal());   
				    meunBarItem01_menuItem02.put("text", "保存");
					GxtComponentMetaNodeModel node11_02  = new GxtComponentMetaNodeModel(meunBarItem01_menuItem02);
					Map<String, Object> meunBarItem01_menuItem03 = new HashMap<String, Object>();
				    meunBarItem01_menuItem03.put("component_model_type_index", ComponentTypeEnum.MENUITEM_MODEL.ordinal());   
				    meunBarItem01_menuItem03.put("text", "打印");
					GxtComponentMetaNodeModel node11_03  = new GxtComponentMetaNodeModel(meunBarItem01_menuItem03);
					Map<String, Object> meunBarItem01_menuItem04 = new HashMap<String, Object>();
				    meunBarItem01_menuItem04.put("component_model_type_index", ComponentTypeEnum.MENUITEM_MODEL.ordinal());   
				    meunBarItem01_menuItem04.put("text", "预览");
					GxtComponentMetaNodeModel node11_04  = new GxtComponentMetaNodeModel(meunBarItem01_menuItem04);
					Map<String, Object> meunBarItem01_menuItem05 = new HashMap<String, Object>();
				    meunBarItem01_menuItem05.put("component_model_type_index", ComponentTypeEnum.MENUITEM_MODEL.ordinal());   
				    meunBarItem01_menuItem05.put("text", "退出");
					GxtComponentMetaNodeModel node11_05  = new GxtComponentMetaNodeModel(meunBarItem01_menuItem05);
					
					
				    
					List<GxtComponentMetaNodeModel> meunBarItem01_list = new ArrayList<GxtComponentMetaNodeModel>();
				    
					meunBarItem01_list.add(node11_01);
					meunBarItem01_list.add(node11_02);
					meunBarItem01_list.add(node11_03);
					meunBarItem01_list.add(node11_04);
					meunBarItem01_list.add(node11_05);
				meunBarItem01.put("children", meunBarItem01_list);
			    meunBarItem01.put("text", "文件");
				  //TODO map2.put("appEventType", AppEvents.DESKTOP_SHORTCUT_ONCLICK_INIT);
					Map<String,Object> codes2 = new HashMap<String, Object>();
					//添加需要监听的事件类型，指定由某一个控制器响应，控制器内部应该如何响应（附加参数和数据）
					/**
					 * 00_01_02为特征码
					 * 或者是 控制器的唯一标识
					 */
						Map<String,Object> oneRegisterEventTypeData = new HashMap<String, Object>();
							EventStructureMetaModel eventStructureMetaModel = new EventStructureMetaModel();
							eventStructureMetaModel.setControllerId("1_1_windowController_Depot");
							eventStructureMetaModel.setRootControllerId("1_1_windowController_Depot");
						oneRegisterEventTypeData.put("eventstructuremetamodel", eventStructureMetaModel);
						
			
					codes2.put("0010", oneRegisterEventTypeData);
				meunBarItem01.put("registereventtypes", codes2);
					BaseModel gxtToSeamServiceParameter = new BaseModel();
					gxtToSeamServiceParameter.set("serviceComponentName", "com.test.server.business.PersonService");
					gxtToSeamServiceParameter.set("serviceMethodName", "loadSubApplication");
					BaseModel[] methodArguments2 = new BaseModel[1];
					methodArguments2[0] = new BaseModel();
					gxtToSeamServiceParameter.set("methodArguments",methodArguments2 );
				meunBarItem01.put("gxttoseamserviceparametermodel", gxtToSeamServiceParameter);
				GxtComponentMetaNodeModel node11  = new GxtComponentMetaNodeModel(meunBarItem01);
				
				Map<String, Object> meunBarItem02 = new HashMap<String, Object>();
			    meunBarItem02.put("component_model_type_index", ComponentTypeEnum.MENUBARITEM_MODEL.ordinal());   
			    meunBarItem02.put("text", "编辑");
				GxtComponentMetaNodeModel node22  = new GxtComponentMetaNodeModel(meunBarItem02);
				
				Map<String, Object> meunBarItem03 = new HashMap<String, Object>();
			    meunBarItem03.put("component_model_type_index", ComponentTypeEnum.MENUBARITEM_MODEL.ordinal());   
				    Map<String, Object> meunBarItem03_menuItem01 = new HashMap<String, Object>();
				    meunBarItem03_menuItem01.put("component_model_type_index", ComponentTypeEnum.MENUITEM_MODEL.ordinal());   
				    meunBarItem03_menuItem01.put("text", "新建");
					GxtComponentMetaNodeModel node33_01  = new GxtComponentMetaNodeModel(meunBarItem03_menuItem01);
					Map<String, Object> meunBarItem03_menuItem02 = new HashMap<String, Object>();
				    meunBarItem03_menuItem02.put("component_model_type_index", ComponentTypeEnum.MENUITEM_MODEL.ordinal());   
						    Map<String, Object> meunBarItem03_menuItem01_menuItem01 = new HashMap<String, Object>();
						    meunBarItem03_menuItem01_menuItem01.put("component_model_type_index", ComponentTypeEnum.MENUITEM_MODEL.ordinal());   
						    meunBarItem03_menuItem01_menuItem01.put("text", "在库库存查询");
							GxtComponentMetaNodeModel node33_01_01  = new GxtComponentMetaNodeModel(meunBarItem03_menuItem01_menuItem01);
							Map<String, Object> meunBarItem03_menuItem01_menuItem02 = new HashMap<String, Object>();
						    meunBarItem03_menuItem01_menuItem02.put("component_model_type_index", ComponentTypeEnum.MENUITEM_MODEL.ordinal());   
						    meunBarItem03_menuItem01_menuItem02.put("text", "在途库存查询");
							GxtComponentMetaNodeModel node33_01_02  = new GxtComponentMetaNodeModel(meunBarItem03_menuItem01_menuItem02);
							List<GxtComponentMetaNodeModel> meunBarItem03_menuItem01_list = new ArrayList<GxtComponentMetaNodeModel>();
							meunBarItem03_menuItem01_list.add(node33_01_01);
							meunBarItem03_menuItem01_list.add(node33_01_02);
					meunBarItem03_menuItem02.put("text", "库存状态查询");
					meunBarItem03_menuItem02.put("children", meunBarItem03_menuItem01_list);
					GxtComponentMetaNodeModel node33_02  = new GxtComponentMetaNodeModel(meunBarItem03_menuItem02);
				    
					List<GxtComponentMetaNodeModel> meunBarItem03_list = new ArrayList<GxtComponentMetaNodeModel>();
					meunBarItem03_list.add(node33_01);
					meunBarItem03_list.add(node33_02);
				meunBarItem03.put("children", meunBarItem03_list);
			    meunBarItem03.put("text", " 查看");
				GxtComponentMetaNodeModel node33  = new GxtComponentMetaNodeModel(meunBarItem03);
				
				Map<String, Object> meunBarItem04 = new HashMap<String, Object>();
			    meunBarItem04.put("component_model_type_index", ComponentTypeEnum.MENUBARITEM_MODEL.ordinal());   
			    meunBarItem04.put("text", "选项");
				GxtComponentMetaNodeModel node44  = new GxtComponentMetaNodeModel(meunBarItem04);
				
				List<GxtComponentMetaNodeModel> list = new ArrayList<GxtComponentMetaNodeModel>();
				list.add(node11);
				list.add(node22);
				list.add(node33);
				list.add(node44);
				
		Map<String, Object> menubar=new HashMap<String, Object>();
//		menubar.put("component_model_type", ComponentTypeEnum.MENUBAR_MODEL);
		menubar.put("component_model_type_index", ComponentTypeEnum.MENUBAR_MODEL.ordinal());
		//menubar.put("menubaritem", listModel);
		menubar.put("children", list);
		GxtComponentMetaNodeModel node3=new GxtComponentMetaNodeModel(menubar);
		
		return node3;
	}
	
	private GxtComponentMetaNodeModel getToolBarGxtComponentMetaNodeModel2() {
		
		
	 	Map<String, Object> button01 = new HashMap<String, Object>();
	    button01.put("component_model_type_index", ComponentTypeEnum.BUTTON_MODEL.ordinal());   
	    button01.put("text", "新建");
		  //TODO map2.put("appEventType", AppEvents.DESKTOP_SHORTCUT_ONCLICK_INIT);
			Map<String,Object> codes2 = new HashMap<String, Object>();
			//添加需要监听的事件类型，指定由某一个控制器响应，控制器内部应该如何响应（附加参数和数据）
			/**
			 * 00_01_02为特征码
			 * 或者是 控制器的唯一标识
			 */
				Map<String,Object> oneRegisterEventTypeData = new HashMap<String, Object>();
					EventStructureMetaModel eventStructureMetaModel = new EventStructureMetaModel();
					eventStructureMetaModel.setControllerId("1_1_windowController_Depot");
					eventStructureMetaModel.setRootControllerId("1_1_windowController_Depot");
				oneRegisterEventTypeData.put("eventstructuremetamodel", eventStructureMetaModel);
				
	
			codes2.put("0010", oneRegisterEventTypeData);
		button01.put("registereventtypes", codes2);
			BaseModel gxtToSeamServiceParameter = new BaseModel();
			gxtToSeamServiceParameter.set("serviceComponentName", "com.test.server.business.PersonService");
			gxtToSeamServiceParameter.set("serviceMethodName", "loadSubApplication");
			BaseModel[] methodArguments2 = new BaseModel[1];
			methodArguments2[0] = new BaseModel();
			gxtToSeamServiceParameter.set("methodArguments",methodArguments2 );
		button01.put("gxttoseamserviceparametermodel", gxtToSeamServiceParameter);
		GxtComponentMetaNodeModel node11  = new GxtComponentMetaNodeModel(button01);
		
		Map<String, Object> button02 = new HashMap<String, Object>();
	    button02.put("component_model_type_index", ComponentTypeEnum.BUTTON_MODEL.ordinal());   
	    button02.put("text", "保存");
		GxtComponentMetaNodeModel node22  = new GxtComponentMetaNodeModel(button02);
		
		Map<String, Object> button03 = new HashMap<String, Object>();
	    button03.put("component_model_type_index", ComponentTypeEnum.BUTTON_MODEL.ordinal());   
	    button03.put("text", "清空");
		GxtComponentMetaNodeModel node33  = new GxtComponentMetaNodeModel(button03);
		
		Map<String, Object> button04 = new HashMap<String, Object>();
	    button04.put("component_model_type_index", ComponentTypeEnum.BUTTON_MODEL.ordinal());   
	    button04.put("text", "导入");
		GxtComponentMetaNodeModel node44  = new GxtComponentMetaNodeModel(button04);
		
		Map<String, Object> button05 = new HashMap<String, Object>();
	    button05.put("component_model_type_index", ComponentTypeEnum.BUTTON_MODEL.ordinal());   
	    button05.put("text", "导出");
		GxtComponentMetaNodeModel node55  = new GxtComponentMetaNodeModel(button05);
	    
	   

		List<GxtComponentMetaNodeModel> list = new ArrayList<GxtComponentMetaNodeModel>();
		list.add(node11);
		list.add(node22);
		list.add(node33);
		//list.add(node44);
		//list.add(node55);
		
		Map<String, Object> toolbar=new HashMap<String, Object>();
		toolbar.put("component_model_type_index", ComponentTypeEnum.TOOLBAR_MODEL.ordinal());
		//toolbar.put("add", btn);
		toolbar.put("children", list);

		ToolBarHandler.configureToolBarGxtComponentMetaNodeModel ( toolbar );

	
		GxtComponentMetaNodeModel node4=new GxtComponentMetaNodeModel(toolbar, 5, 6);
		
		

		return node4;
}

	private GxtComponentMetaNodeModel getSumFormPanelGxtComponentMetaNodeModel() {
		//创建提交和取消按钮
		Map<String, Object> btnSubmit=new HashMap<String, Object>();
//		btnSubmit.put("component_model_type", ComponentTypeEnum.BUTTON_MODEL);
		//实际创建时，不检查此属性
		btnSubmit.put("component_model_type_index", ComponentTypeEnum.BUTTON_MODEL.ordinal());
		btnSubmit.put("text", "sumFormPanel确定000000");
		
		Map<String,Object> codes2 = new HashMap<String, Object>();
		//添加需要监听的事件类型，指定由某一个控制器响应，控制器内部应该如何响应（附加参数和数据）
		/**
		 * 00_01_02为特征码
		 * 或者是 控制器的唯一标识
		 */
				Map<String,Object> oneRegisterEventTypeData = new HashMap<String, Object>();
					EventStructureMetaModel eventStructureMetaModel = new EventStructureMetaModel();
					//eventStructureMetaModel.setControllerId("shortcutController02");
					eventStructureMetaModel.setRootControllerId("1_1_windowController_Depot");
					//eventStructureMetaModel.setResponseModeId("00_02_02");
				oneRegisterEventTypeData.put("eventstructuremetamodel", eventStructureMetaModel);
				oneRegisterEventTypeData.put("dispachereventtype", "0007");
		
			codes2.put("0302", oneRegisterEventTypeData);
		btnSubmit.put("registereventtypes", codes2);
		GxtComponentMetaNodeModel btnSubmit1=new GxtComponentMetaNodeModel(btnSubmit);
		
		Map<String, Object> btnquxiao=new HashMap<String, Object>();
//		btnquxiao.put("component_model_type", ComponentTypeEnum.BUTTON_MODEL);
		//实际创建时，不检查此属性
		btnquxiao.put("component_model_type_index", ComponentTypeEnum.BUTTON_MODEL.ordinal());
		btnquxiao.put("text", "取消");
		GxtComponentMetaNodeModel btn1=new GxtComponentMetaNodeModel(btnquxiao);
		
		List<GxtComponentMetaNodeModel> list1=new ArrayList<GxtComponentMetaNodeModel>();
		list1.add(btnSubmit1);
		list1.add(btn1);
		
		
		
		Map<String, Object> MaxPanel=new HashMap<String, Object>();
//		MaxPanel.put("component_model_type", ComponentTypeEnum.FORMPANEL_MODEL);
		MaxPanel.put("component_model_type_index", ComponentTypeEnum.FORMPANEL_MODEL.ordinal());
		MaxPanel.put("autowidth", true);
		MaxPanel.put("autoheight", true);
//		MaxPanel.put("height", 500);
		MaxPanel.put("frame", true);
		MaxPanel.put("headervisible", false);
		//TODO MaxPanel.put("addbutton", list1);
		MaxPanel.put("addsubmitbutton", true);
		MaxPanel.put("addresetbutton", true);
		MaxPanel.put("buttonalign", "CENTER");
		MaxPanel.put("layoutindex", ComponentTypeEnum.FORMLAYOUT_MODEL.ordinal());
		FormPanelHandler.configureFormPanel ( MaxPanel ,"com.test.server.business.PersonService","listPersonxx");
		GxtComponentMetaNodeModel node5=new GxtComponentMetaNodeModel(MaxPanel);
		
		return node5;
	}
	

	private GxtComponentMetaNodeModel getFormSetContentPanelGxtComponentMetaNodeModel(){
		Map<String, Object> map2=new HashMap<String, Object>();
		//map2.put("component_model_type", ComponentTypeEnum.CONTENTPANEL_MODEL);
		map2.put("component_model_type_index", ComponentTypeEnum.CONTENTPANEL_MODEL.ordinal());
		map2.put("headervisible", false);	
		map2.put("id", "formSetContentPanel");	
		map2.put("layoutindex", ComponentTypeEnum.COLUMNLAYOUT_MODEL.ordinal());
		map2.put("layoutdatainparentcontainer", "100%");

		//map2.put("title", "Rpc===dataload----AppEvents.DESKTOP_INIT_FOR_LOGGED_IN_USER");	
		GxtComponentMetaNodeModel node2=new GxtComponentMetaNodeModel(map2);
		return node2;
	}
	
	private GxtComponentMetaNodeModel getComboBoxGxtComponentMetaNodeModel() {
		//所属组织
		Map<String, Object> type = new HashMap<String, Object>();
		type.put("component_model_type_index", ComponentTypeEnum.COMBOBOX_MODEL.ordinal());
		type.put("fieldlabel", "所属组织");
		//type.put("dataload", "xxx");
		type.put("typeahead", true);
		type.put("emptytext", "===请选择===");
		type.put("loadingtext", "数据加载中,请稍等。。。。。。");
		type.put("allowblank", false);
		type.put("name", "comboBox");
		type.put("id", "depot.organisation");
//		type.put("id", "07_06.depot.ORGANIZATIONff");%%%%%%%%%$$%$%$^%$^$%^$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
		
		
		 HandlerData.data ( type , "organisationService" , "getAllOrganisation" );	
		
		GxtComponentMetaNodeModel node11  = new GxtComponentMetaNodeModel(type,12,13);
		return node11;
	}
	
	private GxtComponentMetaNodeModel getComboBoxGxtComponentMetaNodeModel2() {
		//仓库类型
		Map<String, Object> type = new HashMap<String, Object>();
		type.put("component_model_type_index", ComponentTypeEnum.COMBOBOX_MODEL.ordinal());
		type.put("fieldlabel", "仓库类型");
		//type.put("dataload", "xxx");
		type.put("typeahead", true);
		type.put("emptytext", "===请选择===");
		type.put("loadingtext", "数据加载中,请稍等。。。。。。");
		type.put("allowblank", false);
		type.put("name", "comboBox2");
		type.put("id", "depot.depotType");

		 HandlerData.data ( type , "depotTypeService" , "getAllDepotType" );	

		
		GxtComponentMetaNodeModel node11  = new GxtComponentMetaNodeModel(type,12,13);
		return node11;
	}
	
	private GxtComponentMetaNodeModel getComboBoxGxtComponentMetaNodeModel3() {
		//定义仓库原因
		Map<String, Object> type = new HashMap<String, Object>();
		type.put("component_model_type_index", ComponentTypeEnum.COMBOBOX_MODEL.ordinal());
		type.put("fieldlabel", "定义仓库原因");
		//type.put("dataload", "xxx");
		type.put("typeahead", true);
		type.put("emptytext", "===请选择===");
		type.put("loadingtext", "数据加载中,请稍等。。。。。。");
		type.put("allowblank", false);
		type.put("name", "comboBox3");
		type.put("id", "depot.defineDepotReason");
		
		HandlerData.data ( type , "defineDepotReasonService" , "getAllDefineDepotReason" );	

		
		GxtComponentMetaNodeModel node11  = new GxtComponentMetaNodeModel(type,12,13);
		return node11;
	}
	
	private GxtComponentMetaNodeModel getCheckBoxGxtComponentMetaNodeModel() {
		
	    Map<String, Object> checkBox01 = new HashMap<String, Object>();
	    checkBox01.put("component_model_type_index", ComponentTypeEnum.CHECKBOX_MODEL.ordinal());
	    checkBox01.put("boxlabel", "是否允许负库存");
	    checkBox01.put("name", "check1");
//	    checkBox01.put("value", true);
	    checkBox01.put ( "id" , "depot.LOSSSTOCK" );
		GxtComponentMetaNodeModel node11  = new GxtComponentMetaNodeModel(checkBox01);
	    
	    Map<String, Object> checkBox02 = new HashMap<String, Object>();
	    checkBox02.put("component_model_type_index", ComponentTypeEnum.CHECKBOX_MODEL.ordinal());
	    checkBox02.put("boxlabel", "是否生效");
	    checkBox02.put("name", "check2");
	   // radio02.put("value", true);BECOMEFFECTIVE
	    checkBox02.put ( "id" , "depot.BECOMEFFECTIVE" );
		GxtComponentMetaNodeModel node22  = new GxtComponentMetaNodeModel(checkBox02);
	
//		Map<String, Object> checkBox03 = new HashMap<String, Object>();
//	    checkBox03.put("component_model_type_index", ComponentTypeEnum.CHECKBOX_MODEL.ordinal());
//	    checkBox03.put("boxlabel", "上级库存组织");
//	    checkBox03.put("name", "check2");
//	    checkBox03.put ( "id" , "07_08.depot.SUPERISORDEPOTORGANIZATION" );
//		GxtComponentMetaNodeModel node33  = new GxtComponentMetaNodeModel(checkBox03);

		List<GxtComponentMetaNodeModel> list = new ArrayList<GxtComponentMetaNodeModel>();
		list.add(node11);
		list.add(node22);
//		list.add(node33);
		
		Map<String, Object> groups = new HashMap<String, Object>();
		groups.put("component_model_type_index", ComponentTypeEnum.CHECKBOXGROUP_MODEL.ordinal());
//		groups.put("fieldlabel", "MusicLabel");
		groups.put("name", "checkGroup0000");
		groups.put("children", list);
//		HandlerData.data ( groups , "depotService" , "getAllDepot" , "addDepot" , "modifyDepot" , "loadEditorableGrid" );
		GxtComponentMetaNodeModel node00  = new GxtComponentMetaNodeModel(groups);

		return node00;
	}
	
	private GxtComponentMetaNodeModel getDateFieldGxtComponentMetaNodeModel() {
		//生效日期
		Map<String, Object> id = new HashMap<String, Object>();
		id.put("component_model_type_index", ComponentTypeEnum.DATEFIELD_MODEL.ordinal());
		//id.put("dataload", "xxx");
				/*GxtToSeamServiceParameter gxtToSeamServiceParameter = new GxtToSeamServiceParameter();
				gxtToSeamServiceParameter.setServiceComponentName("com.test.server.business.PersonService");
				gxtToSeamServiceParameter.setServiceMethodName("loadTextFieldData");
			//	gxtToSeamServiceParameter.setServiceMethodName("getList2");
			//	gxtToSeamServiceParameter.setServiceMethodName("getEnums");
				BaseModel[] methodArguments2 = new BaseModel[1];
				methodArguments2[0] = new BaseModel();
				gxtToSeamServiceParameter.setMethodArguments(methodArguments2 );*/
//		HandlerData.data ( id , "depotService" , "getAllDepot" , "addDepot" , "modifyDepot" , "loadEditorableGrid" );
		id.put("width", "100");
//		id.put("title", "bbbbbbbbbbbbbbb");
		id.put("fieldlabel", "生效日期");
		id.put("name", "dateField01");
		id.put("emptytext", "请选择生效日期");
		id.put("allowblank", false);
		id.put ( "id" , "depot.BECOMEEFFECTIVEDATE" );
			Map<String,Object> codes2 = new HashMap<String, Object>();
			//添加需要监听的事件类型，指定由某一个控制器响应，控制器内部应该如何响应（附加参数和数据）
			/**
			 * 00_01_02为特征码
			 * 或者是 控制器的唯一标识
			 */
				Map<String,Object> subMap = new HashMap<String, Object>();
					EventStructureMetaModel eventStructureMetaModel = new EventStructureMetaModel();
					eventStructureMetaModel.setControllerId("textFieldController01");
					eventStructureMetaModel.setResponseModeId("00_01_02");
				subMap.put("eventstructuremetamodel", eventStructureMetaModel);
			codes2.put("0301", subMap);
			//codes1.add("0002");
		//id.put("registereventtypes", codes2);
		GxtComponentMetaNodeModel node10  = new GxtComponentMetaNodeModel(id,10,11);
		return node10;
		/*Map<String, Object> map2=new HashMap<String, Object>();
		map2.put("component_model_type_index", ComponentTypeEnum.TEXTFIELD_MODEL.ordinal());
			Map<String,Object> codes2 = new HashMap<String, Object>();
			//添加需要监听的事件类型，指定由某一个控制器响应，控制器内部应该如何响应（附加参数和数据）
			*//**
			 * 00_01_02为特征码
			 * 或者是 控制器的唯一标识
			 *//*
				Map<String,Object> subMap = new HashMap<String, Object>();
					EventStructureMetaModel eventStructureMetaModel = new EventStructureMetaModel();
					eventStructureMetaModel.setControllerId("textFieldController01");
					eventStructureMetaModel.setResponseModeId("00_01_02");
				subMap.put("eventstructuremetamodel", eventStructureMetaModel);
			codes2.put("0301", subMap);
			//codes1.add("0002");
		map2.put("registereventtypes", codes2);
		//map2.put("title", "11111111111createWindow-----LoginView----AppEvents.DESKTOP_INIT_FOR_LOGGED_IN_USER");	
		GxtComponentMetaNodeModel node2=new GxtComponentMetaNodeModel(map2);
		return node2;*/
	}
	
	private GxtComponentMetaNodeModel getDateFieldGxtComponentMetaNodeModel2() {
		//失效日期
		Map<String, Object> id = new HashMap<String, Object>();
		id.put("component_model_type_index", ComponentTypeEnum.DATEFIELD_MODEL.ordinal());
//		HandlerData.data ( id , "depotService" , "getAllDepot" , "addDepot" , "modifyDepot" , "loadEditorableGrid" );
		id.put("width", "100");
//		id.put("title", "bbbbbbbbbbbbbbb");
		id.put("fieldlabel", "失效日期");
		id.put("name", "dateField02");
		id.put("emptytext", "请选择失效日期");
		id.put("allowblank", false);
		id.put ( "id" , "depot.FAILUREDATE" );
			Map<String,Object> codes2 = new HashMap<String, Object>();
			//添加需要监听的事件类型，指定由某一个控制器响应，控制器内部应该如何响应（附加参数和数据）
			/**
			 * 00_01_02为特征码
			 * 或者是 控制器的唯一标识
			 */
				Map<String,Object> subMap = new HashMap<String, Object>();
					EventStructureMetaModel eventStructureMetaModel = new EventStructureMetaModel();
					eventStructureMetaModel.setControllerId("textFieldController01");
					eventStructureMetaModel.setResponseModeId("00_01_02");
				subMap.put("eventstructuremetamodel", eventStructureMetaModel);
			codes2.put("0301", subMap);
		GxtComponentMetaNodeModel node10  = new GxtComponentMetaNodeModel(id,10,11);
		return node10;
	}
	
	private GxtComponentMetaNodeModel getTextFieldGxtComponentMetaNodeModel() {
		//仓库名称
		Map<String, Object> id = new HashMap<String, Object>();
		id.put("component_model_type_index", ComponentTypeEnum.TEXTFIELD_MODEL.ordinal());
//		HandlerData.data ( id , "depotService" , "getAllDepot" , "addDepot" , "modifyDepot" , "loadEditorableGrid" );
		id.put("width", "100");
//		id.put("title", "bbbbbbbbbbbbbbb");
		id.put("fieldlabel", "名称");
		id.put("name", "textField01");
		id.put("emptytext", "请输入仓库名称");
		id.put("allowblank", false);
		id.put("id", "depot.DEPOTNAME");
			Map<String,Object> codes2 = new HashMap<String, Object>();
			//添加需要监听的事件类型，指定由某一个控制器响应，控制器内部应该如何响应（附加参数和数据）
			/**
			 * 00_01_02为特征码
			 * 或者是 控制器的唯一标识
			 */
				Map<String,Object> subMap = new HashMap<String, Object>();
					EventStructureMetaModel eventStructureMetaModel = new EventStructureMetaModel();
					eventStructureMetaModel.setControllerId("textFieldController01");
					eventStructureMetaModel.setResponseModeId("00_01_02");
				subMap.put("eventstructuremetamodel", eventStructureMetaModel);
			codes2.put("0301", subMap);
		GxtComponentMetaNodeModel node10  = new GxtComponentMetaNodeModel(id,10,11);
		return node10;
	}
	
	private GxtComponentMetaNodeModel getTextFieldGxtComponentMetaNodeModel2() {
		//负责人
		Map<String, Object> id = new HashMap<String, Object>();
		id.put("component_model_type_index", ComponentTypeEnum.TEXTFIELD_MODEL.ordinal());
//		HandlerData.data ( id , "depotService" , "getAllDepot" , "addDepot" , "modifyDepot" , "loadEditorableGrid" );
//		id.put("gxttoseamserviceparametermodel", gxtToSeamServiceParameter);
		id.put("width", "100");
//		id.put("title", "bbbbbbbbbbbbbbb");
		id.put("fieldlabel", "负责人");
		id.put("name", "textField02");
//		id.put("emptytext", "请输入负责人");
		id.put("allowblank", false);
		id.put ( "id" , "depot.PERSON" );
			Map<String,Object> codes2 = new HashMap<String, Object>();
			//添加需要监听的事件类型，指定由某一个控制器响应，控制器内部应该如何响应（附加参数和数据）
			/**
			 * 00_01_02为特征码
			 * 或者是 控制器的唯一标识
			 */
				Map<String,Object> subMap = new HashMap<String, Object>();
					EventStructureMetaModel eventStructureMetaModel = new EventStructureMetaModel();
					eventStructureMetaModel.setControllerId("textFieldController01");
					eventStructureMetaModel.setResponseModeId("00_01_02");
				subMap.put("eventstructuremetamodel", eventStructureMetaModel);
			codes2.put("0301", subMap);
		GxtComponentMetaNodeModel node10  = new GxtComponentMetaNodeModel(id,10,11);
		return node10;
	}
	
	private GxtComponentMetaNodeModel getTextFieldGxtComponentMetaNodeModel3() {
		//地址
		Map<String, Object> id = new HashMap<String, Object>();
		id.put("component_model_type_index", ComponentTypeEnum.TEXTFIELD_MODEL.ordinal());
//		HandlerData.data ( id , "depotService" , "getAllDepot" , "addDepot" , "modifyDepot" , "loadEditorableGrid" );
		id.put("width", "100");
//		id.put("title", "bbbbbbbbbbbbbbb");
		id.put("fieldlabel", "地址");
		id.put("name", "textField03");
//		id.put("emptytext", "请输入地址");
		id.put("allowblank", false);
		id.put ( "id" , "depot.ADDRESS" );
			Map<String,Object> codes2 = new HashMap<String, Object>();
			//添加需要监听的事件类型，指定由某一个控制器响应，控制器内部应该如何响应（附加参数和数据）
			/**
			 * 00_01_02为特征码
			 * 或者是 控制器的唯一标识
			 */
				Map<String,Object> subMap = new HashMap<String, Object>();
					EventStructureMetaModel eventStructureMetaModel = new EventStructureMetaModel();
					eventStructureMetaModel.setControllerId("textFieldController01");
					eventStructureMetaModel.setResponseModeId("00_01_02");
				subMap.put("eventstructuremetamodel", eventStructureMetaModel);
			codes2.put("0301", subMap);
		GxtComponentMetaNodeModel node10  = new GxtComponentMetaNodeModel(id,10,11);
		return node10;
	}

	public List<GxtComponentMetaModel> validateLogin0 ( BaseModel	baseModel) {
		System.err.println("Rpc get Username + Password" + baseModel.get("username")
				+"  "+baseModel.get("password"));
		List<GxtComponentMetaModel> list=new ArrayList<GxtComponentMetaModel>();
		GxtComponentMetaModel gxtComponentMetaModel=new GxtComponentMetaModel(this.getList2(baseModel));
		//list.add(gxtComponentMetaModel);
		list.add(this.createDynamicDesktopController3());
		list.add(this.createDynamicWindowController());
				//	list.add(this.createDynamicWindowController33());
//		list.add(this.createDynamicWindowController22());
//		list.add(this.createDynamicWindowController333());
//		list.add(this.createDynamicWindowController4());
//		list.add(this.createDynamicWindowController52());
		return list;
	}
	
	private GxtComponentMetaModel createDynamicDesktopController3() {
		Map<String , Object> desktopController=new HashMap<String, Object>();
//		desktopController.put("component_controller_model_type", ComponentControllerEnum.DESKTOP_CONTROL_MODEL);
		desktopController.put("component_controller_model_type_index", ComponentControllerEnum.DESKTOP_CONTROLLOR_MODEL.ordinal());
		List<String> codes1 = new ArrayList<String>();
		codes1.add("0003");
		codes1.add("0002");
		codes1.add("0005");
		desktopController.put("registereventtypes", codes1);
		desktopController.put("id", "desktopController");
		GxtComponentMetaNodeModel node=new GxtComponentMetaNodeModel(desktopController,1,24);
		
		Map<String , Object> shortcutController=new HashMap<String, Object>();
//		shortcutController.put("component_controller_model_type", ComponentControllerEnum.SHORTCUT_CONTROLLER_MODEL);
		shortcutController.put("component_controller_model_type_index", ComponentControllerEnum.SHORTCUT_CONTROLLER_MODEL.ordinal());
		List<String> codes2 = new ArrayList<String>();
		codes2.add("0003");
		codes2.add("0002");
		codes2.add("0005");
		shortcutController.put("registereventtypes", codes2);
		shortcutController.put("id", "shortcutController01");
		shortcutController.put("viewdata", "shortcut_viewData_init_01");	
		shortcutController.put("gxtcomponentmetanodemodel", this.getShortcutGxtComponentMetaNodeModel());		
		GxtComponentMetaNodeModel node2=new GxtComponentMetaNodeModel(shortcutController,2,3);
		
		Map<String , Object> shortcutController2=new HashMap<String, Object>();
//		shortcutController2.put("component_controller_model_type", ComponentControllerEnum.SHORTCUT_CONTROLLER_MODEL);
		shortcutController2.put("component_controller_model_type_index", ComponentControllerEnum.SHORTCUT_CONTROLLER_MODEL.ordinal());
		List<String> codes22 = new ArrayList<String>();
		codes22.add("0003");
		codes22.add("0002");
		codes22.add("0005");
		shortcutController2.put("registereventtypes", codes22);
		shortcutController2.put("id", "shortcutController02");
		shortcutController2.put("viewdata", "shortcut_viewData_init_02");
		shortcutController2.put("gxtcomponentmetanodemodel", this.getShortcutGxtComponentMetaNodeModel2());		
		GxtComponentMetaNodeModel node22=new GxtComponentMetaNodeModel(shortcutController2,4,5);
		
		Map<String , Object> desktopMeunItemController=new HashMap<String, Object>();
//		desktopMeunItemController.put("component_controller_model_type", ComponentControllerEnum.DESKTOP_MENUITEM_CONTROLLER_MODEL);
		desktopMeunItemController.put("component_controller_model_type_index", ComponentControllerEnum.DESKTOP_MENUITEM_CONTROLLER_MODEL.ordinal());
		List<String> codes3 = new ArrayList<String>();
		codes3.add("0003");
		codes3.add("0002");
		codes3.add("0005");
		desktopMeunItemController.put("registereventtypes", codes3);
		desktopMeunItemController.put("id", "desktopMeunItemController01");
		desktopMeunItemController.put("viewdata", "desktopmenuitem_viewData_init_01");		
		GxtComponentMetaNodeModel node3=new GxtComponentMetaNodeModel(desktopMeunItemController,6,7);
		
		
		Map<String , Object> desktopMeunItemController2=new HashMap<String, Object>();
//		desktopMeunItemController2.put("component_controller_model_type", ComponentControllerEnum.DESKTOP_MENUITEM_CONTROLLER_MODEL);
		desktopMeunItemController2.put("component_controller_model_type_index", ComponentControllerEnum.DESKTOP_MENUITEM_CONTROLLER_MODEL.ordinal());
		List<String> codes32 = new ArrayList<String>();
		codes32.add("0003");
		codes32.add("0002");
		codes32.add("0005");
		desktopMeunItemController2.put("registereventtypes", codes32);
		desktopMeunItemController2.put("id", "desktopMeunItemController02");
		desktopMeunItemController2.put("viewdata", "desktopmenuitem_viewData_init_02");		
		GxtComponentMetaNodeModel node32=new GxtComponentMetaNodeModel(desktopMeunItemController2,8,9);
		
		Map<String , Object> desktopStartMenuController=new HashMap<String, Object>();
//		desktopStartMenuController.put("component_controller_model_type", ComponentControllerEnum.DESKTOP_STARTMENU_CONTROLLER_MODEL);
		desktopStartMenuController.put("component_controller_model_type_index", ComponentControllerEnum.DESKTOP_STARTMENU_CONTROLLER_MODEL.ordinal());
		List<String> codes4 = new ArrayList<String>();
		codes4.add("0003");
		codes4.add("0002");
		codes4.add("0005");
		desktopStartMenuController.put("registereventtypes", codes4);
		desktopStartMenuController.put("id", "desktopStartMenuController01");
		desktopStartMenuController.put("viewdata", "desktopStartMenu_viewData_init_01");		
		GxtComponentMetaNodeModel node4=new GxtComponentMetaNodeModel(desktopStartMenuController,10,11);
		
		Map<String , Object> desktopStartMenuController2=new HashMap<String, Object>();
//		desktopStartMenuController2.put("component_controller_model_type", ComponentControllerEnum.DESKTOP_STARTMENU_CONTROLLER_MODEL);
		desktopStartMenuController2.put("component_controller_model_type_index", ComponentControllerEnum.DESKTOP_STARTMENU_CONTROLLER_MODEL.ordinal());
		List<String> codes42 = new ArrayList<String>();
		codes42.add("0003");
		codes42.add("0002");
		codes42.add("0005");
		desktopStartMenuController2.put("registereventtypes", codes42);
		desktopStartMenuController2.put("id", "desktopStartMenuController02");
		desktopStartMenuController2.put("viewdata", "desktopStartMenu_viewData_init_02");		
		GxtComponentMetaNodeModel node42=new GxtComponentMetaNodeModel(desktopStartMenuController2,12,13);

		Map<String , Object> shortcutController3=new HashMap<String, Object>();
//		shortcutController.put("component_controller_model_type", ComponentControllerEnum.SHORTCUT_CONTROLLER_MODEL);
		shortcutController3.put("component_controller_model_type_index", ComponentControllerEnum.SHORTCUT_CONTROLLER_MODEL.ordinal());
		List<String> codes222 = new ArrayList<String>();
		codes222.add("0003");
		codes222.add("0002");
		codes222.add("0005");
		shortcutController3.put("registereventtypes", codes222);
		shortcutController3.put("id", "shortcutController03");
		shortcutController3.put("viewdata", "shortcut_viewData_init_03");	
		shortcutController3.put("gxtcomponentmetanodemodel", this.getShortcutGxtComponentMetaNodeModel3());		
		GxtComponentMetaNodeModel node222=new GxtComponentMetaNodeModel(shortcutController3,14,15);
		
		Map<String , Object> shortcutController4=new HashMap<String, Object>();
//		shortcutController.put("component_controller_model_type", ComponentControllerEnum.SHORTCUT_CONTROLLER_MODEL);
		shortcutController4.put("component_controller_model_type_index", ComponentControllerEnum.SHORTCUT_CONTROLLER_MODEL.ordinal());
		List<String> codes2222 = new ArrayList<String>();
		codes2222.add("0003");
		codes2222.add("0002");
		codes2222.add("0005");
		shortcutController4.put("registereventtypes", codes2222);
		shortcutController4.put("id", "shortcutController04");
		shortcutController4.put("viewdata", "shortcut_viewData_init_04");	
		shortcutController4.put("gxtcomponentmetanodemodel", this.getShortcutGxtComponentMetaNodeModel4());		
		GxtComponentMetaNodeModel node2222=new GxtComponentMetaNodeModel(shortcutController4,16,17);
		
		Map<String , Object> shortcutController5=new HashMap<String, Object>();
//		shortcutController.put("component_controller_model_type", ComponentControllerEnum.SHORTCUT_CONTROLLER_MODEL);
		shortcutController5.put("component_controller_model_type_index", ComponentControllerEnum.SHORTCUT_CONTROLLER_MODEL.ordinal());
		List<String> codes22222 = new ArrayList<String>();
		codes22222.add("0003");
		codes22222.add("0002");
		codes22222.add("0005");
		shortcutController5.put("registereventtypes", codes22222);
		shortcutController5.put("id", "shortcutController05");
		shortcutController5.put("viewdata", "shortcut_viewData_init_05");	
		shortcutController5.put("gxtcomponentmetanodemodel", this.getShortcutGxtComponentMetaNodeModel5());		
		GxtComponentMetaNodeModel node22222=new GxtComponentMetaNodeModel(shortcutController5,18,19);
		
		Map<String , Object> shortcutController6=new HashMap<String, Object>();
//		shortcutController.put("component_controller_model_type", ComponentControllerEnum.SHORTCUT_CONTROLLER_MODEL);
		shortcutController6.put("component_controller_model_type_index", ComponentControllerEnum.SHORTCUT_CONTROLLER_MODEL.ordinal());
		List<String> codes222222 = new ArrayList<String>();
		codes222222.add("0003");
		codes222222.add("0002");
		codes222222.add("0005");
		shortcutController6.put("registereventtypes", codes222222);
		shortcutController6.put("id", "shortcutController06");
		shortcutController6.put("viewdata", "shortcut_viewData_init_04");	
		shortcutController6.put("gxtcomponentmetanodemodel", this.getShortcutGxtComponentMetaNodeModel4());		
		GxtComponentMetaNodeModel node222222=new GxtComponentMetaNodeModel(shortcutController6,20,21);
		
		Map<String , Object> shortcutController7=new HashMap<String, Object>();
//		shortcutController.put("component_controller_model_type", ComponentControllerEnum.SHORTCUT_CONTROLLER_MODEL);
		shortcutController7.put("component_controller_model_type_index", ComponentControllerEnum.SHORTCUT_CONTROLLER_MODEL.ordinal());
		List<String> codes2222222 = new ArrayList<String>();
		codes2222222.add("0003");
		codes2222222.add("0002");
		codes2222222.add("0005");
		shortcutController7.put("registereventtypes", codes2222222);
		shortcutController7.put("id", "shortcutController07");
		shortcutController7.put("viewdata", "shortcut_viewData_init_04");	
		shortcutController7.put("gxtcomponentmetanodemodel", this.getShortcutGxtComponentMetaNodeModel4());		
		GxtComponentMetaNodeModel node2222222=new GxtComponentMetaNodeModel(shortcutController7,22,23);
		
		
		List<GxtComponentMetaNodeModel> list=new ArrayList<GxtComponentMetaNodeModel>();
		list.add(node);
		list.add(node2);
		list.add(node22);
		list.add(node3);		
		list.add(node32);		
		list.add(node4);		
		list.add(node42);		
		list.add(node222);
		list.add(node2222);
		list.add(node22222);
		list.add(node222222);
		list.add(node2222222);

		GxtComponentMetaModel gxtComponentMetaModel=new GxtComponentMetaModel(list);
		return gxtComponentMetaModel;
		
	}
	
	
public List<GxtComponentMetaNodeModel> getList2( BaseModel	baseModel) {
		
		//窗口+树
		Map<String , Object> windowController=new HashMap<String, Object>();
		//windowController.put("component_controller_model_type", ComponentControllerEnum.WINDOW_CONTROLLER_MODEL.ordinal());
		windowController.put("component_controller_model_type_index", ComponentControllerEnum.WINDOW_CONTROLLER_MODEL.ordinal());
		List<String> codes1 = new ArrayList<String>();
		codes1.add("0101");
		codes1.add("0301");		
		codes1.add("0003");
		codes1.add("0201");
		codes1.add("0401");
		codes1.add("0007");
		codes1.add("0008");
		
		windowController.put("id", "windowController");
		windowController.put("registereventtypes", codes1);
		windowController.put("viewdata", "window_viewData_init_01");		
		GxtComponentMetaNodeModel node=new GxtComponentMetaNodeModel(windowController,1,14);
		
		Map<String , Object> contentPanelController=new HashMap<String, Object>();
//		contentPanelController.put("component_controller_model_type", ComponentControllerEnum.CONTENTPANEL_CONTROLLER_MODEL.ordinal());
		contentPanelController.put("component_controller_model_type_index", ComponentControllerEnum.CONTENTPANEL_CONTROLLER_MODEL.ordinal());
		List<String> codes2 = new ArrayList<String>();
		codes2.add("0201");
		codes2.add("0301");
		codes2.add("0401");
		codes2.add("0101");
		codes2.add("0007");
		codes2.add("0008");
		contentPanelController.put("registereventtypes", codes2);				
		contentPanelController.put("id", "contentPanelController");				
		contentPanelController.put("viewdata", "contentPanel_viewData_init_01");		
		GxtComponentMetaNodeModel node2=new GxtComponentMetaNodeModel(contentPanelController,2,13);
		
		Map<String , Object> menuBarController=new HashMap<String, Object>();
//		menuBarController.put("component_controller_model_type", ComponentControllerEnum.MENUBAR_CONTROLLER_MODEL.ordinal());
		menuBarController.put("component_controller_model_type_index", ComponentControllerEnum.MENUBAR_CONTROLLER_MODEL.ordinal());
		List<String> codes3 = new ArrayList<String>();
		codes3.add("0201");
		codes3.add("0301");
		codes3.add("0401");
		codes3.add("0101");
		codes3.add("0007");
		codes3.add("0008");
		menuBarController.put("registereventtypes", codes3);
		menuBarController.put("id", "menuBarController");
		menuBarController.put("viewdata", "menuBar_viewData_init_01");		
		GxtComponentMetaNodeModel node3=new GxtComponentMetaNodeModel(menuBarController,3,4);
		
		Map<String , Object> toolBarController=new HashMap<String, Object>();
//		toolBarController.put("component_controller_model_type", ComponentControllerEnum.TOOLBAR_CONTROLLER_MODEL);
		toolBarController.put("component_controller_model_type_index", ComponentControllerEnum.TOOLBAR_CONTROLLER_MODEL.ordinal());
		List<String> codes4 = new ArrayList<String>();
		codes4.add("0201");
		codes4.add("0301");
		codes4.add("0401");
		codes4.add("0101");
		codes4.add("0007");
		codes4.add("0008");
		toolBarController.put("registereventtypes", codes4);
		toolBarController.put("id", "toolBarController");
		toolBarController.put("viewdata", "toolBar_viewData_init_01");		
		GxtComponentMetaNodeModel node4=new GxtComponentMetaNodeModel(toolBarController,5,6);
		
		
		
		
		Map<String, Object> sumFormPanelController=new HashMap<String, Object>();
//		sumFormPanelController.put("component_controller_model_type", ComponentControllerEnum.FORMPANEL_CONTROLLER_MODEL);
		sumFormPanelController.put("component_controller_model_type_index", ComponentControllerEnum.FORMPANEL_CONTROLLER_MODEL.ordinal());
		List<String> codes45 = new ArrayList<String>();
		codes45.add("0201");
		codes45.add("0301");
		codes45.add("0401");
		codes45.add("0101");
		codes45.add("0007");
		codes45.add("0008");
		sumFormPanelController.put("registereventtypes", codes45);
		sumFormPanelController.put("id", "sumFormPanelController");
		sumFormPanelController.put("controllerdata", "sumFormPanel_controllerdata_init_01");		
		sumFormPanelController.put("viewdata", "sumFormPanel_viewData_init_01");		
		GxtComponentMetaNodeModel node45=new GxtComponentMetaNodeModel(sumFormPanelController, 7, 12);
		
		
		Map<String , Object> formPanelController=new HashMap<String, Object>();
//		formPanelController.put("component_controller_model_type", ComponentControllerEnum.FORMSET_MODULE_CONTROLLER_MODEL);
		formPanelController.put("component_controller_model_type_index", ComponentControllerEnum.FORMSET_MODULE_CONTROLLER_MODEL.ordinal());
		List<String> codes5 = new ArrayList<String>();
		codes5.add("0201");
		codes5.add("0301");
		codes5.add("0401");
		codes5.add("0101");
		codes5.add("0007");
		codes5.add("0008");
		formPanelController.put("registereventtypes", codes5);
		formPanelController.put("id", "formPanelController");
		formPanelController.put("controllerdata", "formPanel_controllerdata_init_01");		
		formPanelController.put("viewdata", "formPanel_viewData_init_01");		
		GxtComponentMetaNodeModel node5=new GxtComponentMetaNodeModel(formPanelController,8,9);
		
		Map<String , Object> treePanelModulesController=new HashMap<String, Object>();
//		treePanelModulesController.put("component_controller_model_type", ComponentControllerEnum.TREEPANELMODULES_CONTROLLER_MODEL);
		treePanelModulesController.put("component_controller_model_type_index", ComponentControllerEnum.TREEPANELMODULES_CONTROLLER_MODEL.ordinal());
		List<String> codes6 = new ArrayList<String>();
		codes6.add("0401"); 
		codes6.add("0301"); 
		codes6.add("0201"); 
		codes6.add("0101");
		codes6.add("0007");
		codes6.add("0008");
		treePanelModulesController.put("registereventtypes", codes6);
		treePanelModulesController.put("id", "treePanelModulesController");
		treePanelModulesController.put("viewdata", "treePanelModules_viewData_init_01");		
		GxtComponentMetaNodeModel node6=new GxtComponentMetaNodeModel(treePanelModulesController,10,11);
		
		List<GxtComponentMetaNodeModel> list=new ArrayList<GxtComponentMetaNodeModel>();
		list.add(node);
		list.add(node2);
		list.add(node3);
		list.add(node4);
		list.add(node45);
		list.add(node5);
		list.add(node6);
		
		//GxtComponentMetaModel gxtComponentMetaModel=new GxtComponentMetaModel(list);
		//return GxtComponentControlerFactory.createGxtComponentController(gxtComponentMetaModel);
		
		return list;
	}

	private GxtComponentMetaNodeModel getShortcutGxtComponentMetaNodeModel() {
		Map<String, Object> map2=new HashMap<String, Object>();
		//map2.put("component_model_type", ComponentTypeEnum.SHORTCUT_MODEL);
		map2.put("component_model_type_index", ComponentTypeEnum.SHORTCUT_MODEL.ordinal());
		//TODO map2.put("appEventType", AppEvents.DESKTOP_SHORTCUT_ONCLICK_INIT);
			Map<String,Object> RegisterEventTypeDatas = new HashMap<String, Object>();
			//添加需要监听的事件类型，指定由某一个控制器响应，控制器内部应该如何响应（附加参数和数据）
			/**
			 * 00_01_02为特征码
			 * 或者是 控制器的唯一标识
			 */
				Map<String,Object> oneRegisterEventTypeData = new HashMap<String, Object>();
					EventStructureMetaModel eventStructureMetaModel = new EventStructureMetaModel();
					eventStructureMetaModel.setControllerId("shortcutController01");
					eventStructureMetaModel.setRootControllerId("desktopController");
					eventStructureMetaModel.setResponseModeId("00_01_02");
				oneRegisterEventTypeData.put("eventstructuremetamodel", eventStructureMetaModel);
				
					Map<String,Object> oneDispacherEventTypeData = new HashMap<String, Object>();
						EventStructureMetaModel subEventStructureMetaModel = new EventStructureMetaModel();
						subEventStructureMetaModel.setControllerId("1_1_windowController_Depot");
						subEventStructureMetaModel.setRootControllerId("1_1_windowController_Depot");
					oneDispacherEventTypeData.put("eventstructuremetamodel", subEventStructureMetaModel);
					oneDispacherEventTypeData.put("count", 7);
				oneRegisterEventTypeData.put("dispachereventtype", "0007");
				
			RegisterEventTypeDatas.put("0003", oneRegisterEventTypeData);
			//codes1.add("0002");
		map2.put("registereventtypes", RegisterEventTypeDatas);
			Map<String,Object> dispacherEventTypeDatas = new HashMap<String, Object>();
			dispacherEventTypeDatas.put("0007", oneDispacherEventTypeData);
		map2.put("dispachereventtypes", dispacherEventTypeDatas);
		//map2.put("icon", "user");
		//map2.put("icon", "extanim32");
		map2.put("text", "Rpc   -----LoginView----AppEvents.DESKTOP_INIT_FOR_LOGGED_IN_USER");	
		GxtComponentMetaNodeModel node2=new GxtComponentMetaNodeModel(map2);
		return node2;
	}
	
	private GxtComponentMetaNodeModel getShortcutGxtComponentMetaNodeModel2() {
		Map<String, Object> map2=new HashMap<String, Object>();
		//map2.put("component_model_type", ComponentTypeEnum.SHORTCUT_MODEL);
		map2.put("component_model_type_index", ComponentTypeEnum.SHORTCUT_MODEL.ordinal());
		//TODO map2.put("appEventType", AppEvents.DESKTOP_SHORTCUT_ONCLICK_INIT);
			Map<String,Object> codes2 = new HashMap<String, Object>();
			//添加需要监听的事件类型，指定由某一个控制器响应，控制器内部应该如何响应（附加参数和数据）
			/**
			 * 00_01_02为特征码
			 * 或者是 控制器的唯一标识
			 */
				Map<String,Object> oneRegisterEventTypeData = new HashMap<String, Object>();
					EventStructureMetaModel eventStructureMetaModel = new EventStructureMetaModel();
					eventStructureMetaModel.setControllerId("shortcutController02");
					eventStructureMetaModel.setRootControllerId("desktopController");
					eventStructureMetaModel.setResponseModeId("00_02_02");
				oneRegisterEventTypeData.put("eventstructuremetamodel", eventStructureMetaModel);
				oneRegisterEventTypeData.put("dispachereventtype", "0007");

			codes2.put("0003", oneRegisterEventTypeData);
		map2.put("registereventtypes", codes2);
				Map<String,Object> oneDispacherEventTypeData = new HashMap<String, Object>();
					EventStructureMetaModel subEventStructureMetaModel = new EventStructureMetaModel();
					subEventStructureMetaModel.setControllerId("1_1_windowController_Depot");
					subEventStructureMetaModel.setRootControllerId("1_1_windowController_Depot");
				oneDispacherEventTypeData.put("eventstructuremetamodel", subEventStructureMetaModel);
				oneDispacherEventTypeData.put("count", 15);
			Map<String,Object> dispacherEventTypeDatas = new HashMap<String, Object>();
			dispacherEventTypeDatas.put("0007", oneDispacherEventTypeData);
		map2.put("dispachereventtypes", dispacherEventTypeDatas);
		//map2.put("icon", "user");
		//map2.put("icon", "im48");
		map2.put("text", "22222Rpc--LoginView----AppEvents.DESKTOP_INIT_FOR_LOGGED_IN_USER");	
		GxtComponentMetaNodeModel node2=new GxtComponentMetaNodeModel(map2);
		return node2;
	}
	
	private GxtComponentMetaNodeModel getShortcutGxtComponentMetaNodeModel3() {
		Map<String, Object> map2=new HashMap<String, Object>();
		//map2.put("component_model_type", ComponentTypeEnum.SHORTCUT_MODEL);
		map2.put("component_model_type_index", ComponentTypeEnum.SHORTCUT_MODEL.ordinal());
		//TODO map2.put("appEventType", AppEvents.DESKTOP_SHORTCUT_ONCLICK_INIT);
			Map<String,Object> codes2 = new HashMap<String, Object>();
			//添加需要监听的事件类型，指定由某一个控制器响应，控制器内部应该如何响应（附加参数和数据）
			/**
			 * 00_01_02为特征码
			 * 或者是 控制器的唯一标识
			 */
				Map<String,Object> oneRegisterEventTypeData = new HashMap<String, Object>();
					EventStructureMetaModel eventStructureMetaModel = new EventStructureMetaModel();
					eventStructureMetaModel.setControllerId("shortcutController03");
					eventStructureMetaModel.setRootControllerId("desktopController");
					eventStructureMetaModel.setResponseModeId("00_02_02");
				oneRegisterEventTypeData.put("eventstructuremetamodel", eventStructureMetaModel);
				oneRegisterEventTypeData.put("dispachereventtype", "0007");

			codes2.put("0003", oneRegisterEventTypeData);
		map2.put("registereventtypes", codes2);
				Map<String,Object> oneDispacherEventTypeData = new HashMap<String, Object>();
					EventStructureMetaModel subEventStructureMetaModel = new EventStructureMetaModel();
					subEventStructureMetaModel.setControllerId("windowController3");
					subEventStructureMetaModel.setRootControllerId("windowController3");
				oneDispacherEventTypeData.put("eventstructuremetamodel", subEventStructureMetaModel);
				oneDispacherEventTypeData.put("count", 15);
			Map<String,Object> dispacherEventTypeDatas = new HashMap<String, Object>();
			dispacherEventTypeDatas.put("0007", oneDispacherEventTypeData);
		map2.put("dispachereventtypes", dispacherEventTypeDatas);
		//map2.put("icon", "user");
		//map2.put("icon", "im48");
		map2.put("text", "22222Rpc--LoginView----AppEvents.DESKTOP_INIT_FOR_LOGGED_IN_USER");	
		GxtComponentMetaNodeModel node2=new GxtComponentMetaNodeModel(map2);
		return node2;
	}




	private GxtComponentMetaNodeModel getShortcutGxtComponentMetaNodeModel4() {
		Map<String, Object> map2=new HashMap<String, Object>();
		//map2.put("component_model_type", ComponentTypeEnum.SHORTCUT_MODEL);
		map2.put("component_model_type_index", ComponentTypeEnum.SHORTCUT_MODEL.ordinal());
		//TODO map2.put("appEventType", AppEvents.DESKTOP_SHORTCUT_ONCLICK_INIT);
			Map<String,Object> codes2 = new HashMap<String, Object>();
			//添加需要监听的事件类型，指定由某一个控制器响应，控制器内部应该如何响应（附加参数和数据）
			/**
			 * 00_01_02为特征码
			 * 或者是 控制器的唯一标识
			 */
				Map<String,Object> oneRegisterEventTypeData = new HashMap<String, Object>();
					EventStructureMetaModel eventStructureMetaModel = new EventStructureMetaModel();
					eventStructureMetaModel.setControllerId("shortcutController04");
					eventStructureMetaModel.setRootControllerId("desktopController");
					eventStructureMetaModel.setResponseModeId("00_02_04");
				oneRegisterEventTypeData.put("eventstructuremetamodel", eventStructureMetaModel);
				oneRegisterEventTypeData.put("dispachereventtype", "0007");

			codes2.put("0003", oneRegisterEventTypeData);
		map2.put("registereventtypes", codes2);
				Map<String,Object> oneDispacherEventTypeData = new HashMap<String, Object>();
					EventStructureMetaModel subEventStructureMetaModel = new EventStructureMetaModel();
					subEventStructureMetaModel.setControllerId("windowController4");
					subEventStructureMetaModel.setRootControllerId("windowController4");
				oneDispacherEventTypeData.put("eventstructuremetamodel", subEventStructureMetaModel);
				oneDispacherEventTypeData.put("count", 1);
			Map<String,Object> dispacherEventTypeDatas = new HashMap<String, Object>();
			dispacherEventTypeDatas.put("0007", oneDispacherEventTypeData);
		map2.put("dispachereventtypes", dispacherEventTypeDatas);
		//map2.put("icon", "user");
		//map2.put("icon", "add");
		map2.put("text", "22222Rpc--LoginView----AppEvents.DESKTOP_INIT_FOR_LOGGED_IN_USER");	
		GxtComponentMetaNodeModel node2=new GxtComponentMetaNodeModel(map2);
		return node2;
	}
	
	private GxtComponentMetaNodeModel getShortcutGxtComponentMetaNodeModel5() {
		Map<String, Object> map2=new HashMap<String, Object>();
		//map2.put("component_model_type", ComponentTypeEnum.SHORTCUT_MODEL);
		map2.put("component_model_type_index", ComponentTypeEnum.SHORTCUT_MODEL.ordinal());
			Map<String,Object> codes2 = new HashMap<String, Object>();
			//添加需要监听的事件类型，指定由某一个控制器响应，控制器内部应该如何响应（附加参数和数据）
			/**
			 * 00_01_02为特征码
			 * 或者是 控制器的唯一标识
			 */
				Map<String,Object> oneRegisterEventTypeData = new HashMap<String, Object>();
					EventStructureMetaModel eventStructureMetaModel = new EventStructureMetaModel();
					eventStructureMetaModel.setControllerId("shortcutController05");
					eventStructureMetaModel.setRootControllerId("desktopController");
					eventStructureMetaModel.setResponseModeId("00_02_04");
				oneRegisterEventTypeData.put("eventstructuremetamodel", eventStructureMetaModel);
				oneRegisterEventTypeData.put("dispachereventtype", "0007");

			codes2.put("0003", oneRegisterEventTypeData);
		map2.put("registereventtypes", codes2);
				Map<String,Object> oneDispacherEventTypeData = new HashMap<String, Object>();
					EventStructureMetaModel subEventStructureMetaModel = new EventStructureMetaModel();
					subEventStructureMetaModel.setControllerId("windowController5");
					subEventStructureMetaModel.setRootControllerId("windowController5");
				oneDispacherEventTypeData.put("eventstructuremetamodel", subEventStructureMetaModel);
			Map<String,Object> dispacherEventTypeDatas = new HashMap<String, Object>();
			dispacherEventTypeDatas.put("0007", oneDispacherEventTypeData);
		map2.put("dispachereventtypes", dispacherEventTypeDatas);
		//map2.put("icon", "user");
		//map2.put("icon", "add");
		map2.put("text", "采购退货出库单555");	
		GxtComponentMetaNodeModel node2=new GxtComponentMetaNodeModel(map2);
		return node2;
	}
	
	private GxtComponentMetaNodeModel getTextAreaGxtComponentMetaNodeModel() {
		//描述
		Map<String, Object> id = new HashMap<String, Object>();
		id.put("component_model_type_index", ComponentTypeEnum.TEXTAREA_MODEL.ordinal());
		//id.put("dataload", "xxx");
				/*GxtToSeamServiceParameter gxtToSeamServiceParameter = new GxtToSeamServiceParameter();
				gxtToSeamServiceParameter.setServiceComponentName("com.test.server.business.PersonService");
				gxtToSeamServiceParameter.setServiceMethodName("loadTextFieldData");
			//	gxtToSeamServiceParameter.setServiceMethodName("getList2");
			//	gxtToSeamServiceParameter.setServiceMethodName("getEnums");
				BaseModel[] methodArguments2 = new BaseModel[1];
				methodArguments2[0] = new BaseModel();
				gxtToSeamServiceParameter.setMethodArguments(methodArguments2 );*/
				BaseModel gxtToSeamServiceParameter = new BaseModel();
				gxtToSeamServiceParameter.set("serviceComponentName", "com.test.server.business.PersonService");
				gxtToSeamServiceParameter.set("serviceMethodName", "loadTextFieldData");
				BaseModel[] methodArguments2 = new BaseModel[1];
				methodArguments2[0] = new BaseModel();
				gxtToSeamServiceParameter.set("methodArguments",methodArguments2 );
		//id.put("gxttoseamserviceparametermodel", gxtToSeamServiceParameter);
		id.put("width", "400");
		id.put("height", 50);
//		id.put("title", "bbbbbbbbbbbbbbb");
		id.put("fieldlabel", "描述");
		id.put("label", "描述");
		id.put("name", "textArea01");
//		id.put("emptytext", "afjooanfaof");
		id.put("allowblank", true);
		id.put ( "id" , "depot.DESCRIPTION" );
			Map<String,Object> codes2 = new HashMap<String, Object>();
			//添加需要监听的事件类型，指定由某一个控制器响应，控制器内部应该如何响应（附加参数和数据）
			/**
			 * 00_01_02为特征码
			 * 或者是 控制器的唯一标识
			 */
				Map<String,Object> subMap = new HashMap<String, Object>();
					EventStructureMetaModel eventStructureMetaModel = new EventStructureMetaModel();
					eventStructureMetaModel.setControllerId("textFieldController01");
					eventStructureMetaModel.setResponseModeId("00_01_02");
				subMap.put("eventstructuremetamodel", eventStructureMetaModel);
			codes2.put("0301", subMap);
			//codes1.add("0002");
		//id.put("registereventtypes", codes2);
		GxtComponentMetaNodeModel node10  = new GxtComponentMetaNodeModel(id,10,11);
		return node10;
		/*Map<String, Object> map2=new HashMap<String, Object>();
		map2.put("component_model_type_index", ComponentTypeEnum.TEXTFIELD_MODEL.ordinal());
			Map<String,Object> codes2 = new HashMap<String, Object>();
			//添加需要监听的事件类型，指定由某一个控制器响应，控制器内部应该如何响应（附加参数和数据）
			*//**
			 * 00_01_02为特征码
			 * 或者是 控制器的唯一标识
			 *//*
				Map<String,Object> subMap = new HashMap<String, Object>();
					EventStructureMetaModel eventStructureMetaModel = new EventStructureMetaModel();
					eventStructureMetaModel.setControllerId("textFieldController01");
					eventStructureMetaModel.setResponseModeId("00_01_02");
				subMap.put("eventstructuremetamodel", eventStructureMetaModel);
			codes2.put("0301", subMap);
			//codes1.add("0002");
		map2.put("registereventtypes", codes2);
		//map2.put("title", "11111111111createWindow-----LoginView----AppEvents.DESKTOP_INIT_FOR_LOGGED_IN_USER");	
		GxtComponentMetaNodeModel node2=new GxtComponentMetaNodeModel(map2);
		return node2;*/
	}
	
	private GxtComponentMetaNodeModel getTextAreaGxtComponentMetaNodeModel2() {
		//备注
		Map<String, Object> id = new HashMap<String, Object>();
		id.put("component_model_type_index", ComponentTypeEnum.TEXTAREA_MODEL.ordinal());
				BaseModel gxtToSeamServiceParameter = new BaseModel();
				gxtToSeamServiceParameter.set("serviceComponentName", "com.test.server.business.PersonService");
				gxtToSeamServiceParameter.set("serviceMethodName", "loadTextFieldData");
				BaseModel[] methodArguments2 = new BaseModel[1];
				methodArguments2[0] = new BaseModel();
				gxtToSeamServiceParameter.set("methodArguments",methodArguments2 );
		//id.put("gxttoseamserviceparametermodel", gxtToSeamServiceParameter);
		id.put("width", "400");
		id.put("height", 50);
//		id.put("title", "bbbbbbbbbbbbbbb");
		id.put("fieldlabel", "备注");
		id.put("label", "备注");
		id.put("name", "textArea02");
//		id.put("emptytext", "afjooanfaof");
		id.put("allowblank", true);
		id.put ( "id" , "depot.REMARK" );
			Map<String,Object> codes2 = new HashMap<String, Object>();
			//添加需要监听的事件类型，指定由某一个控制器响应，控制器内部应该如何响应（附加参数和数据）
			/**
			 * 00_01_02为特征码
			 * 或者是 控制器的唯一标识
			 */
				Map<String,Object> subMap = new HashMap<String, Object>();
					EventStructureMetaModel eventStructureMetaModel = new EventStructureMetaModel();
					eventStructureMetaModel.setControllerId("textFieldController01");
					eventStructureMetaModel.setResponseModeId("00_01_02");
				subMap.put("eventstructuremetamodel", eventStructureMetaModel);
			codes2.put("0301", subMap);
		GxtComponentMetaNodeModel node10  = new GxtComponentMetaNodeModel(id,10,11);
		return node10;
	}
}
